define("common", [], (require, exports, module) => {
	exports.done = () => {
		return {
			getURLKeyValue: (url, name) => {
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"),
					r = url.split('?').length>1 ? url.split('?')[1].match(reg) : null;
				return null != r ? decodeURIComponent(r[2]) : null
			}
		}
	}
});